package com.manage.func.ordermanagement.returnorder.dao;

import java.util.List;

import com.manage.base.dao.IBaseDao;
import com.manage.func.ordermanagement.returnorder.model.ReturnOrderBean;
import com.manage.func.ordermanagement.returnorder.model.ReturnOrderBooksBean;
import com.manage.func.ordermanagement.returnorder.model.ReturnOrderExcelBean;
import com.manage.func.ordermanagement.returnorder.model.ReturnOrderExportQueryBean;

public interface IReturnOrderDao extends IBaseDao<ReturnOrderBean> {

	/**
	 * 查询活动接口
	 * 
	 * @param queryBean
	 * @return
	 */
	List<ReturnOrderBean> selectReturnOrderList(ReturnOrderBean bean);

	/**
	 * 插入活动接口
	 * 
	 * @param queryBean
	 * @return
	 */
	int insertReturnOrder(ReturnOrderBean queryBean);

	/**
	 * 查询活动列表接口
	 * 
	 * @param queryBean
	 * @return
	 */
	int deleteReturnOrder(ReturnOrderBean queryBean);

	/**
	 * 更新活动接口
	 * 
	 * @param queryBean
	 * @return
	 */
	int updateReturnOrder(ReturnOrderBean queryBean);
	
	/**
	 * 更新活动接口
	 * 
	 * @param queryBean
	 * @return
	 */
	int updateOrderDetail(ReturnOrderBooksBean queryBean);

	/**
	 * 查询活动总数接口
	 * 
	 * @param queryBean
	 * @return
	 */
	int selectTotalCount(ReturnOrderBean queryBean);

	/**
	 * 查询还书单明细接口
	 * 
	 * @param queryBean
	 * @return
	 */
	List<ReturnOrderBooksBean> selectReturnOrderBooks(ReturnOrderBean queryBean);

	int updateExpressMessage(ReturnOrderBean queryBean);

	List<ReturnOrderExcelBean> selectReturnOrderExcel(ReturnOrderExportQueryBean bean);
}
